//
//  CAShapeLayer+category.m
//  xiaohu
//
//  Created by 刘璇 on 2017/12/19.
//  Copyright © 2017年 iOSOneGpowerMobile. All rights reserved.
//

#import "CALayer+category.h"

@implementation CALayer (category)
-(void)addRadius:(CGFloat)radius borderWidth:(CGFloat)borderWidth borderColor:(UIColor *)color{
    self.cornerRadius = radius;
    self.borderColor = color.CGColor;
    self.borderWidth = borderWidth;
    
    self.masksToBounds = YES;
    
}
@end
